<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>自我介绍</title>
    <style type="text/css">
        .ooo{
            text-align: center;
        }
        .one {
            border-style:dashed;
            width: 150px;
            height: 200px;
            border-color: rgb(0, 0, 0);
        }

        body {
            font-family: "微软雅黑";
        }

        body {
            background: url(http://hbimg.huaban.com/f1f9954d9a67d4b5c04fb433d070fed920fa3e916b29-Cwc6JP_sq180) no-repeat center center fixed;
            background-size: 100%;
        }

        .all {
            width: 1024px;
            height: 863px;
            margin: 0 auto;
        }

        .list {
            width: 300px;
            padding: 180px 0 0 340px;
        }

        p {
            margin-top: 20px;
        }
    </style>
</head>

<body>
    <div class="all">
        <form class="list" action="#" method="post">
            <h2 class="ooo">自我介绍</h2>
            <p>
                <span>姓名：</span>
                <input type="text" value="郭宇轩" class="txt">

            </p>
            <p>
                <span>年龄：</span>
                <input type="text" value="19" class="txt">

            </p>
            <div class="one">照片</div>
            <span>性别</span>
            <select>
                <option>男</option>
                <option>女</option>
                <option>无性</option>
                <option>双性</option>
                <option>武装直升机</option>
                <option>沃尔玛塑料袋</option>
                <option>超级霸王龙</option>
                <option>看情况选择</option>
            </select>
            <p>
                <textarea cols="50" rows="5" class="message">自我介绍：可能是个人？6523寝室的</textarea>
            </p>
            <button id="save">提交</button>
            <script type="text/javascript">
                var btn=document.getElementById("save")
                btn.onclick=function(){
                    alert("阿巴阿巴")
                }
            </script>
        </form>
    </div>
</body>

</html>